package com.gitee.neuray.security.wb.ribs.feign;
import com.gitee.neuray.security.common.msg.ObjectRestResponse;
import com.gitee.neuray.security.wb.ribs.constants.WbApiConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;

@FeignClient(value = WbApiConstants.DFSFILE_ADDRESS,configuration = {})
public interface FileFeign {
    @RequestMapping(value = "/fdfs/rpc/downloadModel",method = RequestMethod.GET)
    byte[] downloadModel(@RequestParam("fileId") String fileId);
    @RequestMapping(value = "/fdfs/rpc/download",method = RequestMethod.GET)
    void download(@RequestParam("fileId") String fileId);
}
